﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;
using System.Configuration;

namespace AffinityORM.DataTypes
{
    public class UdlConnection
    {
        public string FileName
        {
            get { return _connectionSettings.Name; }
        }

        public string Provider
        {
            get { return _connectionSettings.ProviderName; }
        }

        public string ConnectionString
        {
            get { return _connectionSettings.ConnectionString; }
        }

        private ConnectionStringSettings _connectionSettings = new ConnectionStringSettings();
        public ConnectionStringSettings ConnectionStringSettings
        {
            get { return _connectionSettings; }
            set { _connectionSettings = value; }
        }
    }
}
